<?php 
namespace Yzadmin\Model;
use Think\Model;

   
   class CateModel extends Model{
     protected $_validate = array(
     array('name','require','分类名称必须填写！'), 
     array('price','require','点击金额必须填写！'),

     );
   }

?>